.label {
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
    border-radius: 5px;
    // border-width: 2px;
    cursor: pointer;
    margin-top: 2px;
    &.yellow {
        background-color: #BA734F;
        border: 1px solid #fff;
        color: #f7f7f7;
    }
    &.red {
        background-color: #CF4B4B;
        border: 1px solid #fff;
        color: #f7f7f7;
    }
    &.blue {
        background-color: #51A1E5;
        border: 1px solid #fff;
        color: #fff;
    }
    &.grey {
        background-color: #B8B8B8;
        border: 1px solid #fff;
        color: #fff;
    }
}

.decal {
    background-color: #35353C;
    height: 2px;
    border-bottom: 1px solid #464651;
    box-sizing: border-box;
}

.divider {
    height: 1px;
    background-color: #dfdfdf;
    margin: 1.5rem 0;
    &.dash {
        background-color: transparent;
        border-bottom: 1px dashed #444;
    }
}

.float.right {
    float: right;
}

.float.left {
    float: left;
}

.clear {
    clear: both;
}

.block {
    display: block;
}

.horizontal-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    &.center {
        justify-content: space-around;
    }
}

.vertical-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /*方向*/
    -webkit-box-orient: vertical;
    box-orient: vertical;
    -moz-box-orient: vertical;
    flex-direction: column;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    /*排列*/
    justify-content: center;
    align-items: center;
    -ms-flex-align: center;
    -ms-justify-content: center;
    -ms-flex: 1;
    /*old*/
    -webkit-box-align: center;
    box-align: center;
    /*new*/
    -webkit-align-items: center;
}

.center {
    text-align: center;
}

.form-control {
    font-family: "Microsoft yahei";
    padding: 3px 12px;
    font-size: 12px;
    line-height: 1.428571429;
    color: #555555;
    vertical-align: middle;
    background-color: #ffffff;
    border: 1px solid #888;
    border-radius: 2px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    // &.block{
    //     display: block;
    // }
}

.animate-box {
    transition: opacity .3s ease-in-out, left .3s ease-in-out;
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 0;
    top: 0;
    opacity: 1;
}

.animate-box.ng-enter-active,
.animate-box.ng-leave,
{
    left: 0;
    opacity: 1;
    // right: 0;
}

.animate-box.ng-enter {
    left: 400px;
    opacity: 0;
}

.animate-box.ng-enter,
.animate-box.ng-leave-active,
{
    // right: -110%;
    opacity: 0;
}

.sub-animate-box {
    transition: opacity .3s;
    opacity: 1;
}

.sub-animate-box.ng-enter-active,
.sub-animate-box.ng-leave,
{
    opacity: 1;
}

.sub-animate-box.ng-enter,
.sub-animate-box.ng-leave-active {
    opacity: 0;
}

.hint {
    &.green {
        color: #5BBD72;
    }
    &.red {
        color: #CF4B4B;
    }
}

.ui.basic.compact.calendar-table.center.aligned.table {
    border: none;
    tr td {
        border-top: none;
    }
    .navigator th {
        background-color: #fff;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    td.day {
        cursor: pointer;
        &:hover {
            background-color: #eee;
        }
        &.teal {
            background-color: #1A9FCF;
            color: #fff;
        }
    }
}
